﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OBDUDSUtils.CNNMode
{
    public class DiagBasic
    {
        #region mode1-2 pid
        private struct Diagnose
        {
            public uint dignostypes;  //诊断协议 		0:15031 1:14229 2:KWP2000
            public uint commtypes;        //通讯类型 		0:CAN 1:K-Line
            public uint frameType;        //帧类型	 		0:标准帧 1:扩展帧
            public uint initType;         //初始化方式	0:快速初始化 1:5Buad初始化

            public uint tgtAddr;               //ECU标识符		
            public uint srcAddr;               //诊断仪标识符
            public uint funAddr;               //功能寻址
            public uint Baud;                  //波特率

            public uint server_id;        //服务ID
            public uint sub_function; //服务子功能
            public uint client;               //客户
        }

        public enum ModelSID
        {
            SID_01 = 01,
            SID_02 = 02,
            SID_03 = 03,
            SID_04 = 04,
            SID_05 = 05,
            SID_06 = 06,
            SID_07 = 07,
            SID_08 = 08,
            SID_09 = 09,
            SID_0A = 0X0A,
            UDS_DID_Read = 0x0B,
            UDS_DID_Write = 0x0C
        }

        private enum ReadReturnCode
        {
            SUCCESS,
            /// <summary>
            /// 不匹配实际代码时，重新执行一次
            /// </summary>
            NOT_MATCH,
            FAIL
        }

        private enum ModelRebackValueSID
        {
            NONE,
            PID_OX41 = 0X41,
            PID_0X49 = 0x49
        }

        public enum Model_PID
        {
            PID_0X01 = 0X01,
            PID_0X02 = 0X02,
            PID_OX03 = 0X03,
            PID_OX04 = 0X04,
            PID_0X05 = 0X05,
            PID_0X06 = 0X06,
            PID_0X07 = 0X07,
            PID_0X08 = 0X08,
            PID_0X09 = 0X09,
            PID_0X0A = 0X0A,
            PID_0X0B = 0X0B,
            PID_0X0C = 0X0C,
            PID_0X0D = 0X0D,
            PID_0X0E = 0X0E,
            PID_0X0F = 0X0F,
            PID_0X10 = 0X10,
            PID_0X11 = 0X11,
            PID_0X12 = 0X12,
            PID_0X13 = 0X13,
            PID_0X14 = 0X14,
            PID_0X15 = 0X15,
            PID_0X16 = 0X16,
            PID_0X17 = 0X17,
            PID_0X18 = 0X18,
            PID_0X19 = 0X19,
            PID_0X1A = 0X1A,
            PID_0X1B = 0X1B,
            PID_0X1C = 0X1C,
            PID_0X1D = 0X1D,
            PID_0X1E = 0X1E,
            PID_0X1F = 0X1F,
            PID_0X21 = 0X21,
            PID_0X22 = 0X22,
            PID_0X23 = 0X23,
            PID_0X24 = 0X24,
            PID_0X25 = 0X25,
            PID_0X26 = 0X26,
            PID_0X27 = 0X27,
            PID_0X28 = 0X28,
            PID_0X29 = 0X29,
            PID_0X2A = 0X2A,
            PID_0X2B = 0X2B,
            PID_0X2C = 0X2C,
            PID_0X2D = 0X2D,
            PID_0X2E = 0X2E,
            PID_0X2F = 0X2F,
            PID_0X30 = 0X30,
            PID_0X31 = 0X31,
            PID_0X32 = 0X32,
            PID_0X33 = 0X33,
            PID_0X34 = 0X34,
            PID_0X35 = 0X35,
            PID_0X36 = 0X36,
            PID_0X37 = 0X37,
            PID_0X38 = 0X38,
            PID_0X39 = 0X39,
            PID_0X3A = 0X3A,
            PID_0X3B = 0X3B,
            PID_0X3C = 0X3C,
            PID_0X3D = 0X3D,
            PID_0X3E = 0X3E,
            PID_0X3F = 0X3F,
            PID_0X40 = 0X40,
            PID_0X41 = 0X41,
            PID_0X42 = 0X42,
            PID_0X43 = 0X43,
            PID_0X44 = 0X44,
            PID_0X45 = 0X45,
            PID_0X46 = 0X46,
            PID_0X47 = 0X47,
            PID_0X48 = 0X48,
            PID_0X49 = 0X49,
            PID_0X4A = 0X4A,
            PID_0X4B = 0X4B,
            PID_0X4C = 0X4C,
            PID_0X4D = 0X4D,
            PID_0X4E = 0X4E,
            PID_0X4F = 0X4F,
            PID_0X50 = 0X50,
            PID_0X51 = 0X51,
            PID_0X52 = 0X52,
            PID_0X53 = 0X53,
            PID_0X54 = 0X54,
            PID_0X55 = 0X55,
            PID_0X56 = 0X56,
            PID_0X57 = 0X57,
            PID_0X58 = 0X58,
            PID_0X59 = 0X59,
            PID_0X5A = 0X5A,
            PID_0X5B = 0X5B,
            PID_0X5C = 0X5C,
            PID_0X5D = 0X5D,
            PID_0X5E = 0X5E,
            PID_0X5F = 0X5F,
            PID_0X60 = 0X60,
            PID_0X61 = 0X61,
            PID_0X62 = 0X62,
            PID_0X63 = 0X63,
            PID_0X64 = 0X64,
            PID_0X65 = 0X65,
            PID_0X66 = 0X66,
            PID_0X67 = 0X67,
            PID_0X68 = 0X68,
            PID_0X69 = 0X69,
            PID_0X6A = 0X6A,
            PID_0X80 = 0X80,
            PID_0XFD = 0XFD,
            PID_0XFE = 0XFE,
            PID_0XFF = 0XFF
        }

        public struct PID_MEAN
        {
            #region PID=01
            public const string PID_01_DATAA_0_6 = "与排放相关的DTC数量 ";
            public const string PID_01_DATAA_07 = "故障指示灯";

            public const string PID_01_DATAB_00 = "失火监控";
            public const string PID_01_DATAB_01 = "燃油系统监控";
            public const string PID_01_DATAB_02 = "全面组件监控";
            public const string PID_01_DATAB_03 = "保留";

            public const string PID_01_DATAC_00 = "催化剂监测";
            public const string PID_01_DATAC_01 = "加热催化器监测";
            public const string PID_01_DATAC_02 = "蒸发系统监测";
            public const string PID_01_DATAC_03 = "二次空气系统监测";
            public const string PID_01_DATAC_04 = "A/C系统制冷剂监控";
            public const string PID_01_DATAC_05 = "氧传感器监测";
            public const string PID_01_DATAC_06 = "氧传感器加热器监测";
            public const string PID_01_DATAC_07 = "EGR系统";

            public const string PID_01_DATAD_00 = "催化剂监测";
            public const string PID_01_DATAD_01 = "加热催化器监测";
            public const string PID_01_DATAD_02 = "蒸发系统监测";
            public const string PID_01_DATAD_03 = "二次空气系统监测";
            public const string PID_01_DATAD_04 = "A/C系统制冷剂监控";
            public const string PID_01_DATAD_05 = "氧传感器监测";
            public const string PID_01_DATAD_06 = "氧传感器加热器监测";
            public const string PID_01_DATAD_07 = "EGR系统";
            #endregion

            #region PID=02
            public const string PID_02_DATAB_00 = "导致需要冻结帧数据存储的DTC";
            #endregion

            #region PID=03
            public const string PID_03_DATAA_00 = "开环-还未达到闭环条件";
            public const string PID_03_DATAA_01 = "闭环-使用氧传感器作为燃料控制的反馈";
            public const string PID_03_DATAA_02 = "开环-由于驱动条件（e.g动力富集、减速堆积";
            public const string PID_03_DATAA_03 = "开环-检测到系统故障";
            public const string PID_03_DATAA_04 = "闭环-至少一个氧传感器故障（可能使用单一氧传感器燃料控制";
            public const string PID_03_DATAA_05 = "保留";
            public const string PID_03_DATAA_06 = "保留";
            public const string PID_03_DATAA_07 = "保留";

            public const string PID_03_DATAB_00 = "开环-还未达到闭环条件";
            public const string PID_03_DATAB_01 = "闭环-使用氧传感器作为燃料控制的反馈";
            public const string PID_03_DATAB_02 = "开环-由于驱动条件（e.g动力富集、减速堆积）";
            public const string PID_03_DATAB_03 = "开环-检测到系统故障 ";
            public const string PID_03_DATAB_04 = "闭环-至少一个氧传感器故障（可能使用单一氧传感器燃料控制）";
            public const string PID_03_DATAB_05 = "保留";
            public const string PID_03_DATAB_06 = "保留";
            public const string PID_03_DATAB_07 = "保留";
            #endregion

            #region PID=04
            public const string PID_04_DATAA = "计算负荷量（min:0 max:100）";
            #endregion

            #region PID=05
            public const string PID_05_DATAA = "发动机冷却液温度（min:-40℃ max:215℃）";
            #endregion

            #region PID=06-09
            public const string PID_06_DATAA = "短期燃料调整BANK1 短期燃料调整BANK3 ";
            public const string PID_07_DATAA = "长期燃料调整BANK1 长期燃料调整BANK3 ";
            public const string PID_08_DATAA = "短期燃料调整BANK2 短期燃料调整BANK4 ";
            public const string PID_09_DATAA = "长期燃料调整BANK2 长期燃料调整BANK4 ";
            #endregion

            #region PID=0A-11
            public const string PID_0A_DATAA = "油压（min:0 max:765kPa）";
            public const string PID_0B_DATAA = "进气歧管绝对压力(min:0 max:255kPa) ";

            public const string PID_0C_DATAA_B = "发动机转速(min:0 max:16383.75rPm) ";

            public const string PID_0D_DATAA = "车辆速度(0-255) ";
            public const string PID_0E_DATAA = "1号气缸点火正时提前(-64-63.5°) ";
            public const string PID_0F_DATAA = "摄入空气温度（-40-215℃）";
            public const string PID_10_DATAA = "空气流量（0-655.35grams/sec）";
            public const string PID_11_DATAA = "绝对的节气门位置(0-100%)";
            #endregion

            #region PID=12
            public const string PID_12_DATAA_00 = "UPS催化转化器上游 ";
            public const string PID_12_DATAA_01 = "DNS催化转化器下游  ";
            public const string PID_12_DATAA_02 = "OFF 大气关闭 ";
            public const string PID_12_DATAA_03 = "保留";
            public const string PID_12_DATAA_04 = "保留 ";
            public const string PID_12_DATAA_05 = "保留 ";
            public const string PID_12_DATAA_06 = "保留 ";
            public const string PID_12_DATAA_07 = "保留 ";
            #endregion

            #region PID=13 氧传感器位置，PID$13不支持时才可由给定车辆支持
            public const string PID_13_DATAA_00 = "通道1，传感器1";
            public const string PID_13_DATAA_01 = "通道1，传感器2";
            public const string PID_13_DATAA_02 = "通道1，传感器3";
            public const string PID_13_DATAA_03 = "通道1，传感器4";
            public const string PID_13_DATAA_04 = "通道2，传感器1";
            public const string PID_13_DATAA_05 = "通道2，传感器2";
            public const string PID_13_DATAA_06 = "通道2，传感器3";
            public const string PID_13_DATAA_07 = "通道2，传感器2";
            #endregion

            #region PID=14-1B 
            public const string PID_14_DATA = "通道1，传感器1";
            public const string PID_15_DATA = "通道1，传感器2";
            public const string PID_16_DATA = "通道1，传感器3";
            public const string PID_17_DATA = "通道1，传感器4";
            public const string PID_18_DATA = "通道2，传感器1";
            public const string PID_19_DATA = "通道2，传感器2";
            public const string PID_1A_DATA = "通道2，传感器3";
            public const string PID_1B_DATA = "通道2，传感器4";
            #endregion

            #region PID=14-1B 
            public const string PID_1C_DATA_01 = "OBD 2 ";
            public const string PID_1C_DATA_02 = "OBD  ";
            public const string PID_1C_DATA_03 = "OBD OBD2 ";
            public const string PID_1C_DATA_04 = "OBD 1 ";
            public const string PID_1C_DATA_05 = "NO OBD ";
            public const string PID_1C_DATA_06 = "EOBD ";
            public const string PID_1C_DATA_07 = "EOBD OBD2 ";
            public const string PID_1C_DATA_08 = "EOBD OBD ";
            public const string PID_1C_DATA_09 = "EOBD OBD OBD2  ";
            public const string PID_1C_DATA_0A = "JOBD  ";
            public const string PID_1C_DATA_0B = "JOBD OBD2  ";
            public const string PID_1C_DATA_0C = "JOBD EOBD  ";
            public const string PID_1C_DATA_0D = "JOBD EOBD OBD2  ";
            public const string PID_1C_DATA_0E = "EURO IV B1  ";
            public const string PID_1C_DATA_0F = "EURO IV B2  ";
            public const string PID_1C_DATA_10 = "EURO C  ";
            public const string PID_1C_DATA_11 = "EMD  ";
            #endregion

            #region PID=1D 氧传感器位置
            public const string PID_1D_DATAA_00 = "通道1，传感器1";
            public const string PID_1D_DATAA_01 = "通道1，传感器2 ";
            public const string PID_1D_DATAA_02 = "通道2，传感器1";
            public const string PID_1D_DATAA_03 = "通道2，传感器2";
            public const string PID_1D_DATAA_04 = "通道3，传感器1";
            public const string PID_1D_DATAA_05 = "通道3，传感器2 ";
            public const string PID_1D_DATAA_06 = "通道4，传感器1";
            public const string PID_1D_DATAA_07 = "通道4，传感器2";
            #endregion

            #region PID=1E
            public const string PID_1E_DATA_A_00 = "电源关闭状态";
            public const string PID_1E_DATA_A_01_07 = "保留";
            #endregion

            #region PID=1F-23
            public const string PID_1F_DATA = "引擎启动后运行时间（0-65535秒）";
            public const string PID_21_DATA = "MIL灯点亮后车辆行驶里程";
            public const string PID_22_DATA = "燃料轨压力相对于管道真空(0-5177.265kPa)";
            public const string PID_23_DATA = "油轨压力(柴油或汽油直喷)(0-655350kPa)";
            #endregion

            #region PID=24-2B,仅适用于PID13定义的氧传感器位置 1-2bank 1-4传感器
            public const string PID_24_2B_DATA_13_AB = "等效比(AB)";
            public const string PID_24_2B_DATA_13_CD = "氧传感器电压(CD)";
            #endregion

            #region PID=24,仅适用于PID1D定义的氧传感器位置 1-4bank 1-2传感器
            public const string PID_24_DATA_1D = "AB-等效比,CD-氧传感器电压";
            public const string PID_25_DATA_1D = "AB-等效比,CD-氧传感器电压";
            public const string PID_26_DATA_1D = "AB-等效比,CD-氧传感器电压";
            public const string PID_27_DATA_1D = "AB-等效比,CD-氧传感器电压";
            public const string PID_28_DATA_1D = "AB-等效比,CD-氧传感器电压";
            public const string PID_29_DATA_1D = "AB-等效比,CD-氧传感器电压";
            public const string PID_2A_DATA_1D = "AB-等效比,CD-氧传感器电压";
            public const string PID_2B_DATA_1D = "AB-等效比,CD-氧传感器电压";
            #endregion

            #region PID=2C-33
            public const string PID_2C_DATA = "EGR(废弃循环)命令(0-100%)";
            public const string PID_2D_DATA = "EGR(废弃循环)错误(-100-99.22%)";
            public const string PID_2E_DATA = "蒸发净化命令(0-100%)";
            public const string PID_2F_DATA = "油量液位情况(0-100%)";
            public const string PID_30_DATA = "自诊断故障清除后热身次数(0-255)";
            public const string PID_31_DATA = "自诊断故障清除后行驶距离(0-65535km)";
            public const string PID_32_DATA = "EVAP 系统蒸汽压力(-8192-8192Pa)";
            public const string PID_33_DATA = "大气压(0-255kPa)";

            #endregion

            #region PID=34-3B 仅适用于PID13定义的氧传感器位置 1-4bank 1-2传感器
            public const string PID_34_3B_13_DATA_AB = "等效比(0-1.999N/A)-AB";
            public const string PID_34_3B_13_DATA_CD = "氧传感器电流(-128-127.99ma)-CD";
            #endregion

            #region PID=34-3B 仅适用于PID1D定义的氧传感器位置 1-4bank 1-2传感器
            public const string PID_34_1D_DATA = "AB-等效比(0-1.999N/A)，CD-氧传感器电流(-128-127.99ma)";
            public const string PID_35_1D_DATA = "AB-等效比(0-1.999N/A)，CD-氧传感器电流(-128-127.99ma)";
            public const string PID_36_1D_DATA = "AB-等效比(0-1.999N/A)，CD-氧传感器电流(-128-127.99ma)";
            public const string PID_37_1D_DATA = "AB-等效比(0-1.999N/A)，CD-氧传感器电流(-128-127.99ma)";
            public const string PID_38_1D_DATA = "AB-等效比(0-1.999N/A)，CD-氧传感器电流(-128-127.99ma)";
            public const string PID_39_1D_DATA = "AB-等效比(0-1.999N/A)，CD-氧传感器电流(-128-127.99ma)";
            public const string PID_3A_1D_DATA = "AB-等效比(0-1.999N/A)，CD-氧传感器电流(-128-127.99ma)";
            public const string PID_3B_1D_DATA = "AB-等效比(0-1.999N/A)，CD-氧传感器电流(-128-127.99ma)";
            #endregion

            #region PID=3C-3F 
            public const string PID_3C_DATA = "催化剂温度(通道1，传感器1)(-40-6513.5℃)";
            public const string PID_3D_DATA = "催化剂温度(通道2，传感器1)(-40-6513.5℃)";
            public const string PID_3E_DATA = "催化剂温度(通道1，传感器2)(-40-6513.5℃)";
            public const string PID_3F_DATA = "催化剂温度(通道2，传感器2)(-40-6513.5℃)";
            #endregion

            #region PID=41
            public const string PID_41_DATA_A0_A7 = "保留";

            public const string PID_41_DATA_B0 = "失火监测";
            public const string PID_41_DATA_B1 = "燃油系统监测";
            public const string PID_41_DATA_B2 = "全面组件监测";
            public const string PID_41_DATA_B3 = "保留 ";

            public const string PID_41_DATA_CD0 = "催化剂监控";
            public const string PID_41_DATA_CD1 = "催化剂加热";
            public const string PID_41_DATA_CD2 = "蒸发系统监控";
            public const string PID_41_DATA_CD3 = "二次空气系统检测仪";
            public const string PID_41_DATA_CD4 = "空调系统制冷剂监测";
            public const string PID_41_DATA_CD5 = "氧传感器监测";
            public const string PID_41_DATA_CD6 = "氧传感器加热器监控";
            public const string PID_41_DATA_CD7 = "EGR系统监控";
            #endregion

            #region PID=42-4F
            public const string PID_42_DATA = "电压控制模块(0-65.535V)";
            public const string PID_43_DATA = "绝对负荷值(0-25700%)";
            public const string PID_44_DATA = "等效比命令(0-2N/A)";
            public const string PID_45_DATA = "相对节气门位置(0-100%)";
            public const string PID_46_DATA = "环境空气温度(-40-215℃)";
            public const string PID_47_DATA = "绝对气流阀位置B(0-100%)";
            public const string PID_48_DATA = "绝对气流阀位置C(0-100%)";
            public const string PID_49_DATA = "绝对气流阀位置D(0-100%)";
            public const string PID_4A_DATA = "绝对气流阀位置E(0-100%)";
            public const string PID_4B_DATA = "绝对气流阀位置F(0-100%)";
            public const string PID_4C_DATA = "通讯节流阀执行机构控制(0-100%)";
            public const string PID_4D_DATA = "启动MIL时引擎运行的时间(0-65535分钟)";
            public const string PID_4E_DATA = "诊断故障代码清除以来的时间(0-65535分钟)";

            public const string PID_4F_DATA_A = "等值比的最大值(0-255)";
            public const string PID_4F_DATA_B = "氧传感器电压最大值(0-255V)";
            public const string PID_4F_DATA_C = "氧传感器电流最大值(0-255mA)";
            public const string PID_4F_DATA_D = "进气歧管绝对压力的最大值(0-2550kPa)";
            #endregion

            #region PID=51-FF ，5B-FF保留
            public const string PID_51_DATA = "车辆目前使用的燃料类型（01-0f）";
            public const string PID_52_DATA = "酒精燃料比例（0-100%）";
            public const string PID_53_DATA = "绝对Evap系统蒸汽压（0-327.675kPa）";
            public const string PID_54_DATA = "Evap系统蒸汽压力（-32767-32768pa）";

            public const string PID_55_DATA_A = "短时间内二级氧传感器燃料修整器BANK1（-100-99.22%）";
            public const string PID_55_DATA_B = "短时间内二级氧传感器燃料修整器BANK3（-100-99.22%）";

            public const string PID_56_DATA_A = "长时间内二级氧传感器燃料修整器BANK1（-100-99.22%）";
            public const string PID_56_DATA_B = "长时间内二级氧传感器燃料修整器BANK3（-100-99.22%）";

            public const string PID_57_DATA_A = "短时间内二级氧传感器燃料修整器BANK2（-100-99.22%）";
            public const string PID_57_DATA_B = "短时间内二级氧传感器燃料修整器BANK4（-100-99.22%）";

            public const string PID_58_DATA_A = "长时间内二级氧传感器燃料修整器BANK2（-100-99.22%）";
            public const string PID_58_DATA_B = "长时间内二级氧传感器燃料修整器BANK4（-100-99.22%）";

            public const string PID_59_DATA = "燃料轨压力绝对（0-655350kpa）";

            public const string PID_5A_DATA = "相对加速踏板位置（0-100%）";

            //5B-FF 保留
            public const string PID_5B_Data = "混合动力电池剩余（0-100%）";
            public const string PID_5C_Data = "引擎油温（-40-210℃）";
            public const string PID_5D_Data = "油料注入时序（°）";
            public const string PID_5E_Data = "引擎油量消耗速率（L/h）";
            public const string PID_5F_Data = "设计排放要求";
            public const string PID_60_Data = "PID支持情况（61-80）";
            public const string PID_61_Data = "驾驶者要求引擎的扭矩百分比（-125-125%）";
            public const string PID_62_Data = "实际引擎扭矩百分比（-125-125%）";
            public const string PID_63_Data = "引擎参考扭矩（0-65535Nm）";
            public const string PID_64_Data = "引擎扭矩百分比数据（-125-125%）";
            public const string PID_65_Data = "辅助输入输出支持";
            public const string PID_66_Data = "大容量空气流量传感器";
            public const string PID_67_Data = "引擎冷却液温度（℃）";
            public const string PID_68_Data = "邮箱空气温度传感器";
            public const string PID_69_Data = "EGR命令和EGR错误";
            public const string PID_6A_Data = "柴油机的进气流量控制命令和相对进气的流动的位置";
            public const string PID_6B_Data = "排气回流温度";
            public const string PID_6C_Data = "节气门执行器控制命令和相对节气门位置";
            public const string PID_6D_Data = "油压控制系统";
            public const string PID_6E_Data = "注入压力控制系统";
            public const string PID_6F_Data = "涡轮增压器压缩机入口压力";
            public const string PID_70_Data = "增压压力控制";
            public const string PID_71_Data = "可变涡轮（VGT）控制";
            public const string PID_72_Data = "排气阀控制";
            public const string PID_73_Data = "无论增压器转速";
            public const string PID_74_Data = "混合动力电池剩余";
            public const string PID_75_Data = "涡轮增压器温度";
            public const string PID_76_Data = "涡轮增压器温度";
            public const string PID_77_Data = "增压空气冷却器的温度";
            public const string PID_78_Data = "排气温度 通道1";
            public const string PID_79_Data = "排气温度 通道2";
            public const string PID_7A_Data = "柴油机微粒过滤器";
            public const string PID_7B_Data = "柴油机微粒过滤器";
            public const string PID_7C_Data = "柴油机微粒过滤器温度";
            public const string PID_80_Data = "PID支持情况（81-A0）";
            public const string PID_81_Data = "Engine run time for Auxilliary Emissions Control Device(AECD)";
            public const string PID_82_Data = "Engine run time for Auxilliary Emissions Control Device(AECD)";
            public const string PID_83_Data = "";
            public const string PID_84_Data = "歧管表面温度";
            public const string PID_85_Data = "";
            public const string PID_86_Data = "颗粒物（PM）传感器";
            public const string PID_87_Data = "进气歧管绝对压力";
            public const string PID_A0_Data = "PID支持情况（A1-C0）";
            public const string PID_C0_Data = "PID支持情况（C1-E0）";

            public const string PID_FD_DATA = "ADP 气流抵消（-32768-32767）";
            public const string PID_FE_DATA = "ADP燃料乘数（65535）";
            public const string PID_FF_DATA = "ADP 燃料抵消（-32768-32767）";

            #endregion
        }
        #endregion
    }
}
